package com.efast.dmom.mes.dao.entity;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.mes.dao.base.PartRelateBaseEntityDao;
import com.efast.dmom.mes.entity.BomItemEntity;

public interface BomItemDao extends PartRelateBaseEntityDao<BomItemEntity> {
	
	public void deleteByBom(BomItemEntity obj);
	public List<BomItemEntity> getByBomId(long bomId);
	public int getCountByPartAndRevision(@Param(value = "partNo") String partNo,@Param(value = "partRevision") String partRevision);
	public BomItemEntity getBomItemByPartNoAndRevision(BomItemEntity bomItemEntity);
	public List<BomItemEntity> getBomItemByBomId(@Param(value = "bomId") long bomId,@Param(value = "start") int start,@Param(value = "length") int length);
}
